package weiy.top.modules.category.service;

import weiy.top.modules.category.entity.PmsCategory;
import com.baomidou.mybatisplus.extension.service.IService;
import weiy.top.vo.CascadeVo;

import java.util.List;

/**
 * @Description: pms_category
 * @Author: weihancheng
 * @Date:   2021-11-24
 * @Version: V1.0
 */
public interface IPmsCategoryService extends IService<PmsCategory> {

    List<PmsCategory> tree();

    List<PmsCategory> antdvTree();

    void saveMain(PmsCategory pmsCategory);

    void removeByCatIds(List<String> ids);

    PmsCategory getByIdMain(String catId);

    void updateBatchMain(List<PmsCategory> pmsCategoryList);

    void updateByIdMain(PmsCategory pmsCategory);

    String[] getCatelogPathByCatelogId(String catelogId);

    List<CascadeVo> getCascadeTree();

}
